#include <CommandInsertTrafficLight.h>
Inheritance diagram for CommandInsertTrafficLight:

Public Member Functions | |
| CommandInsertTrafficLight (osg::Vec3 pos, OSGWindows *osgwind, TrafficLightTypes newType, TrafficLightColor newColor, TrafficLightColor newArrowColor) | |
| bool | execute () |
| bool | unexecute () |
Private Attributes | |
| OSGWindows * | osgwind_ |
| TrafficLight * | light |
| vector< TraffEduObject * > | insertedObjs_ |
|
||||||||||||||||||||||||
|
A constructor. Initializes osgwind_ and creates a new traffic light object by using the given parameters.
|
|
|
do the insertion of traffic light object operation.
Implements Command. |
|
|
undo the insertion of traffic light object operation.
Implements Command. |
|
|
a private vector of TraffEduObjects. It holds the inserted traffic light objects. |
|
|
a private variable. It is used to hold the created traffic light object. |
|
|
a private variable. It is initialized with the unique OSGWindows instance. |
1.4.6-NO